import { AppThemeType } from '@/theme';
import { useTheme } from '@shopify/restyle';
import React from 'react';
import { ActivityIndicator, Text, View } from 'react-native';



export function Fallback() {
  const theme = useTheme<AppThemeType>();
  return (
    <View style={{
      flex: 1,
      justifyContent: 'center',
      alignItems: 'center'
    }}>
      <ActivityIndicator animating size="large" color={theme.colors.blue} />
      <Text>页面加载中...</Text>
    </View>
  );
}
